package com.lc.soft.dao;

import com.lc.soft.entity.CommonParameter;
import com.lc.soft.entity.MapEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IMapDao {

    int create(MapEntity mapEntity);

    int update(MapEntity mapEntity);

    int updateState(MapEntity mapEntity);

    MapEntity findMapByCondition(MapEntity mapEntity);

    List<MapEntity> findPagedMapListByCondition(CommonParameter commonParameter);

    int findAmountByCondition(CommonParameter commonParameter);
}
